package com.zyy.meetObject;

public class StringConCatTest {
    public String concat(String operator,String ... strs){
        String result = "";
        for (int i = 0; i < strs.length; i++){
            if(i == 0){
                result += strs[i];
            }else{
                result += (operator + strs[i]);
            }
        }
        return result;
    }
}
